# -*- coding: utf-8 -*-
"""
@author   : Wu Jiang Bin
@gitee   : https://gitee.com/wjbhydj
@software : PyCharm2021 
@file     : task2.py
@create   : 2022/8/27 11:28
"""
import time

import logging

from proj_celery.celery import app

logger = logging.getLogger(__name__)

@app.task
def mul(x, y):
    logger.info('x / y')
    return x / y

@app.task
def test_not_finished():
    time.sleep(30)
    logger.info('睡眠30秒')
    return True